package com.deyuanyun.pic.ae.controller.vo;

import com.deyuanyun.pic.pipe.controller.vo.Command;
import org.springframework.validation.Errors;

/**
 * “周边环境” 基础展示对象接口默认空实现类
 *
 * 方法详情：<br/>
 *
 * @author huanglw
 * @date  2016-11-9
 *
 * History: [修改人][时间][修改描述]
 */
public abstract class DefaultCommand<T> implements Command<T> {
    @Override
    public T toDomain(Errors errors) {
        throw new UnsupportedOperationException("not supported");
    }

    @Override
    public T toDomain() {
        throw new UnsupportedOperationException("not supported");
    }

    @Override
    public void fromDomain(T domain) {
        throw new UnsupportedOperationException("not supported");
    }
}
